/* 常见初始化 */
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color-scheme: #000;
    background-color: #f2f2f2;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    


}
a {
    text-decoration: none;
    color:#222;
    
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

}
.search {
    position: relative;
    height: 26px;
    line-height: 26px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 8px 8px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0,0,0.2);
    font-size: 12px;
    padding-left: 26px;
    

    

}
.search::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    
  
   

}
.user {
    width: 44px;
    height: 44px;
    /* background-color:purple; */
    text-align: center;
    font-size: 12px;
    color: #2eaae0;
    

}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 5px auto -2px;
    
    
   



}
/* 焦点图模块 */
.foces {
    padding-top: 44px;
}
.foces img{
    width: 100%;
}
/* 局部导航栏 */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 2px 3px;
}
.local-nav li {
    flex: 1;

}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 属性选择器 */
.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    background-color: pink;
    margin-top: 7px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;

}
.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}
/* 主导航栏 */
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 4px;
}
.nav-commen {
    display: flex;
    height: 88px;

}
.nav-commen:nth-child(2) {
    margin: 3px 0;
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-item a {
    flex: 1;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 44px;
    text-shadow: 1px 1px rgba(0, 0,0, .2px);
  
}


.nav-item a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
/* 相同类名选择 nav-item 里面的a */
.nav-item:nth-child(1) a {
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;

}

.nav-item:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
/* 背景线性渐变 */
.nav-commen:nth-child(1) {
    background: -webkit-linear-gradient(left,#FA5A55,#FA994D);
}
.nav-commen:nth-child(2) {
    background: -webkit-linear-gradient(left,#4B90ED,#53BCED);
}
.nav-commen:nth-child(3) {
    background: -webkit-linear-gradient(left,#34C2A9,#6CD559);
}
/* 测导航栏 */
.subnav-entry {
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    flex-wrap: wrap;
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry-icon {
    width: 28px;
    height: 28px;
    background-color: pink;
    margin-top: 11px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
}
/* 销售模块 */
.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-hd {
    position: relative;
    height: 44px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2 {
   position: relative;
   text-indent: -9999px;
   overflow: hidden;
}
.sales-hd h2::after {
    position: absolute;
    content: '';
    top:8px;
    left: 20px;
    width: 73px;
    height: 16px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;

}
.more {
    position: absolute;
    right:5px;
    top:0;
    background:-webkit-linear-gradient(left,#FF506C,#FF6BC6);
    border-radius: 18px;
    padding: 3px 20px 3px 10px;
    color: #fff;
    

}
.more::after {
    /* 制作箭头代码 */
    content: '';
    position: absolute;
    right: 9px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 2px solid #eee;
}
.row a:nth-child(1) {
    border-right: 2px solid #eee;
}
.row a img {
    width: 100%;
}

